package com.gg.user.gguser.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface GgNewsService {

    // 查询
    Object getNewsSelect(HttpServletResponse response, HttpServletRequest request,Integer page,Integer pageNumber) throws Exception;

    /**
     * 单个查询
     */
    Object getNewSelectItems(HttpServletResponse response, HttpServletRequest request,Integer itemsId)throws Exception;

    /**
     * 增加
     */
    Object addNewSelectItems(HttpServletResponse response, HttpServletRequest request,String range,String count,String introduction,String title,String ggType)throws Exception;

    /**
     * 删除
     */
    Object delectNewSelectItems(HttpServletResponse response, HttpServletRequest request,Integer id)throws Exception;
}
